package net.melon.sso.inst.bridge.provider;

import javax.inject.Named;
import javax.inject.Singleton;

import net.esj.basic.core.business.provider.operator.OperatorProvider;
import net.esj.basic.core.engine.provider.ProviderRuntimeException;
import net.esj.basic.pojo.op.Operator;

@Singleton
@Named("sso.SSOMemberOperatorProvider")
public class SSOMemberOperatorProvider implements OperatorProvider {

	@Override
	public int getOrder() {
		return 100;
	}

	@Override
	public Operator get()throws ProviderRuntimeException {
		/*Member m =  UserRuleProvider.getSessionUser(ActionContext.getSession(), Member.class);
		if(m==null){
			throw new ProviderRuntimeException();
		}
		return m;*/
		return null;
	}

}
